xen/arm: Allow ballooning working with 1:1 memory mapping
authorJulien Grall <julien.grall@linaro.org>
Tue, 17 Dec 2013 14:28:19 +0000 (14:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 7 Jan 2014 13:31:19 +0000 (13:31 +0000)
commit36a31eb693774e61cdc119c276be90d67b675563
treec6c806e2ac72ad8f602ed40f079319ae53818955
parent3e06b9890c0a691388ace5a6636728998b237b90
xen/arm: Allow ballooning working with 1:1 memory mapping

With the lack of iommu, dom0 must have a 1:1 memory mapping for all
these guest physical address. When the balloon decides to give back a
page to the kernel, this page must have the same address as previously.
Otherwise, we will loose the 1:1 mapping and will break DMA-capable
devices.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c
xen/common/memory.c
xen/include/asm-arm/domain.h